﻿<Window x:Class="CPPEI.PM.Shell.SelectProjectWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="SelectProjectWindow" Height="300" Width="300"
        WindowStartupLocation="CenterScreen">
    <Grid>
        <Label Content="项目名称" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top"/>
        <TextBox Name="_ctlEditCaption" HorizontalAlignment="Left" Height="23" Margin="73,10,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="185"/>
        <Button Name="_ctlBtnCreate" Content="创建" Click="_ctlBtnCreate_Click_1" HorizontalAlignment="Left" Margin="63,39,0,0" VerticalAlignment="Top" Width="75"/>
        <Label Content="选择已有项目" HorizontalAlignment="Left" Margin="10,76,0,0" VerticalAlignment="Top"/>
        <ListBox Name="_ctlListProject" HorizontalAlignment="Left" Height="116" Margin="19,100,0,0" VerticalAlignment="Top" Width="263">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Path=Caption}"/>
                </DataTemplate>
            </ListBox.ItemTemplate>
        </ListBox>
        <Button Name="_ctlBtnSelect" Content="选择" IsDefault="True" Click="_ctlBtnSelect_Click_1" HorizontalAlignment="Left" Margin="63,221,0,0" VerticalAlignment="Top" Width="75"/>
        <Button Name="_ctlBtnCancel" Content="取消" IsCancel="False" HorizontalAlignment="Left" Margin="162,221,0,0" VerticalAlignment="Top" Width="75"/>

    </Grid>
</Window>
